package com.md.model.response.authentication.users;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.md.util.StringUtil;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;


/**
 * @author 刘骄阳
 * 2023-12-27 14:29
 */
@Data
@ApiModel("用户信息响应实体(内部调用)")
@EqualsAndHashCode(callSuper = true)
public class InternalUsersResponse extends UsersResponse {

  @JsonFormat(shape = JsonFormat.Shape.STRING)
  private Long id;

  @Override
  public String toString() {
    return StringUtil.objectToJson(this);
  }
}
